package crazy.exception;

public class Outer
{
	public static void main(String[] args) throws Exception
	{
		new Outer().test();
	}
	private void test() throws Exception
	{
		System.out.println(new Inner());
		System.out.println(Inner.class.newInstance());
	}
	
	public class Inner
	{
		public String toString()
		{
			return "Inner Object";
		}
	}
}
